<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo ($head_tittle); ?></title>
<link href="/my/sharkcms/Public/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="/my/sharkcms/Public/home/css/style.css" rel="stylesheet" type="text/css" />
<link href="/my/sharkcms/Public/home/css/index.css" rel="stylesheet" type="text/css" />
<script src="/my/sharkcms/Public/js/jquery.js"></script>
<script src="/my/sharkcms/Public/home/js/view.js"></script>
<title><?php echo ($pageconfig["tittle"]); ?></title>
<script>
$(document).ready(function(){
	//退出登录页面
   $('.outlogin').click(function(){                   
      var url="<?php echo U('Public/outlogin');?>";
      $.post(url,function(data){
	     $(".logininfor").html('<a href="<?php echo U("Index/login");?>" style=" color:#B61D1D;">&nbsp;您好，&nbsp;&nbsp;请登录</a>&nbsp;&nbsp;<a href="<?php echo U("Index/reg");?>">免费注册</a>');
	  });
	  return false;

   });
   $(".head_line2_wrap_li1").click(function(){
	  	  var url="<?php echo U('index');?>";
	  	  window.location.href=url;
   });
});
</script>

</head>

<body>
<div class="header">
   <div class="head_line1_wrap" align="center">
      <div class="head_line_center" >
	       <div class="fl">欢迎访问霞客系统</div>
		   <div class="fr logininfor">
		   	<?php if(session('uid')): ?><a href="<?php echo U("User/index");?>" class="loginname"><?php echo getUserName(session('uid'));?></a>&nbsp;&nbsp;<a href="#" class="outlogin">[退出]</a>
               <?php else: ?>
                  <a href="<?php echo U('Index/login');?>" style=" color:#B61D1D;">&nbsp;您好，&nbsp;&nbsp;请登录</a>&nbsp;&nbsp;<a href="<?php echo U('Index/reg');?>">免费注册</a><?php endif; ?>
		   </div>
	  </div>
	</div>
	<div class="head_line2_wrap" align="center">
      <div class="head_line_center" >
          <div class="head_line2_wrap_li1" style="cursor:pointer"></div> 
		  <div class="head_line2_wrap_li2">
		        <div class="fl"><input type="text" class="head_line2_wrap_li2_input" /></div>
				<div class="fr"><input type="submit" value="搜索" class="head_line2_wrap_li2_submit" /></div>
				<div class="clear"></div>
		  </div>
		  <div class="head_line2_wrap_li3">
		        <div class="head_line2_wrap_li3_l" onclick="window.location.href='<?php echo U(shop);?>'">购物车<?php echo count($_SESSION['shop']);?></div>
				<div class="head_line2_wrap_li3_r">去结算</div>
		  </div>  
	  </div>
	</div>
	<div class="head_line3_wrap" align="center">
	     <div class="head_line_center" >
		      <div class="head_line3_l">商品分类导航</div>
<style>
.xiake li{ font-family:"microsoft yahei"; font-size:15px; cursor:pointer;}
.xiake li a{ display:block;}
.xiake li .focus{color:#B1191A;font-weight: bold;}
</style>			  
			  <ul class="fl xiake">
			      <li><a href="<?php echo U('Index/index');?>" <?php if(I('name') == null): ?>class="focus"<?php endif; ?>>首页</a></li> 
			      <li>
			          <a href="<?php echo U('Index/goodsList',array('lid'=>10,'name'=>'jiadian'));?>" <?php if(I('name') == jiadian): ?>class="focus"<?php endif; ?> >
			               家用电器
			          </a>
			      </li> 
			      <li>
			           <a href="<?php echo U('Index/goodsList',array('lid'=>12,'name'=>'jiaju'));?>" <?php if(I('name') == jiaju): ?>class="focus"<?php endif; ?> >
			               家居家纺
			           </a>
			      </li>
			      <li>
				      <a href="<?php echo U('Index/goodsList',array('lid'=>13,'name'=>'fuzhuang'));?>" <?php if(I('name') == fuzhuang): ?>class="focus"<?php endif; ?> >
				           服装箱包
				      </a>
			      </li>
			      <li>
				      <a href="<?php echo U('Index/goodsList',array('lid'=>14,'name'=>'huazhuang'));?>" <?php if(I('name') == huazhuang): ?>class="focus"<?php endif; ?> >
				           个护化妆
				      </a>
			      </li>
			      <li>
			          <a href="<?php echo U('Index/goodsList',array('lid'=>21,'name'=>'wenhua'));?>" <?php if(I('name') == wenhua): ?>class="focus"<?php endif; ?> >
			                书籍文化
			          </a>
			      </li>
<!-- 			      <li><a href="">顾客留言</a></li> -->
			      <li><a href="<?php echo U('User/index');?>" >会员中心</a></li>
			  </ul>
		 </div>
	</div>
	
</div>


<link href="css/base.css" rel="stylesheet" type="text/css" />
<link href="/my/sharkcms/Public/home/css/product-show.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/my/sharkcms/Public/home/js/jquery.jqzoom.js"></script>
<script type="text/javascript" src="/my/sharkcms/Public/home/js/product_show.js"></script>
<style>
  .hide{display:none;}
  .block{display:block !important;}
  .norecode img{width:100%;height:auto;}
  .tab li{border-right:1px solid #dedede; border-left:0px;background: #fff;}
</style>
<div class="right-extra main" >
<div class="slide none">
   <ul>
   	<?php if(is_array($classl)): $i = 0; $__LIST__ = $classl;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$volist): $mod = ($i % 2 );++$i;?><li>
	        <div class="slide_li">
            <a href="<?php echo U('Index/goodslist',array('lid'=>$volist['classl_id']));?>">
              <?php echo ($volist["classl_name"]); ?>
            </a>
          </div>
			<dl class="yu">
			 <?php if(is_array($volist['classm'])): $k = 0; $__LIST__ = $volist['classm'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$mlist): $mod = ($k % 2 );++$k;?><dt style="clear:both">
              <a href="<?php echo U('Index/goodslist',array('mid'=>$mlist['classm_id']));?>">
                   <?php echo ($mlist["classm_name"]); ?>
              </a>
              <span class="money">&nbsp;></span>
         </dt>
			   <dd>
			       <ul>
				      <?php if(is_array($volist['classm'][$k-1]['classs'])): $i = 0; $__LIST__ = $volist['classm'][$k-1]['classs'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$classs): $mod = ($i % 2 );++$i;?><li>
                            <a href="<?php echo U('Index/goodslist',array('sid'=>$classs['classs_id']));?>">
                                 <?php echo ($classs["classs_name"]); ?>&nbsp;&nbsp;|
                            </a>
                         </li><?php endforeach; endif; else: echo "" ;endif; ?>
				      
				   </ul>
			   </dd>
			   <dd class="clear"></dd><?php endforeach; endif; else: echo "" ;endif; ?>

	   </li><?php endforeach; endif; else: echo "" ;endif; ?>

       


   </ul>
</div>
<script>
$(document).ready(function(){
  var action_name="<?php echo ACTION_NAME;?>";
  if(action_name=='index'){
       $(".slide").show();
  }else{
       $(".head_line3_l").hover(function(){
            $(".slide").show();
       },function(){
            $(".slide").hover(function(){
                $(".slide").show();
            },function(){
                $(".slide").hide();
            });
            $(".slide").hide();
       });
  }
  $('.slide_li').mouseover(function(){
    $(this).css({"background":"#fff","color":"#c81622","border-right":"#fff solid 1px"});
    $(this).find("a").css({"color":"#c81622"});
    $(this).parent().find("dl").css({"visibility":"visible"});
  });
  $('.slide_li').mouseleave(function(){
    $(this).css({"background":"#c81622","color":"#fff","border-right":"#c81622 1px solid"});
    $(this).find("a").css({"color":"#fff"});
    $(this).parent().find("dl").css({"visibility":"hidden"});
  });
  $('dl').mouseover(function(){
    $(this).css({"visibility":"visible"});
    $(this).parent().find(".slide_li").css({"background":"#fff","color":"#c81622","border-right":"#fff solid 1px"});
    $(this).parent().find(".slide_li a").css({"color":"#c81622"});

  });
  $('dl').mouseleave(function(){
    $(this).css({"visibility":"hidden"});
    $(this).parent().find(".slide_li").css({"border":"none","background":"#c81622","color":"#fff",});
    $(this).parent().find(".slide_li a").css({"color":"#fff"});
  });
  

});
</script>
  <!--产品参数开始-->
  <div>
  	<div class="show_left" style="float:left;">
    <div id="preview" class="spec-preview"> 
               <span class="jqzoom"><img jqimg="<?php echo ($go_pics["0"]["bigimg"]); ?>" src="<?php echo ($go_pics["0"]["smallimg"]); ?>"  style="padding:20px;"/></span> 
    </div>
    <!--缩图开始-->
    <div class="spec-scroll"> <a class="prev">&lt;</a> <a class="next">&gt;</a>
      <div class="items">
        
        <ul>
        <?php if(is_array($go_pics)): $i = 0; $__LIST__ = $go_pics;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$gopic): $mod = ($i % 2 );++$i;?><li>
              <img alt="" bimg="<?php echo ($gopic['bigimg']); ?>" src="<?php echo ($gopic['smallimg']); ?>" onmousemove="preview(this);" />
          </li><?php endforeach; endif; else: echo "" ;endif; ?> 
        </ul>
      </div>
    </div>
    </div>

    <!--缩图结束-->
    <div class="show_right fr">
	    <div class="show_right_line1" style='width:600px;overflow:hidden;text-overflow:ellipsis; white-space:nowrap'><?php echo ($list["go_name"]); ?></div>
      <div class="show_right_line1 colorred yahei" style='width:600px;height:auto; '><?php echo ($list["go_describe"]); ?></div>
		  <div class="show_right_line2 yahei">商品编号：<?php echo ($list["go_id"]); ?></div>
		  <div class="show_right_line2">价格：<?php echo ($list["go_value"]); ?></div>
		  <div class="show_right_line2">商品数量：<?php echo ($list["go_num"]); ?></div>
		  <div class="show_right_line2">商品品牌：<?php echo ($list["brand_name"]); ?></div>
		  <div class="show_right_line2">规格：<?php echo ($list["go_specifications"]); ?></div>
		  <div class="show_right_line2">状态：<?php echo ($list["go_status"]); ?></div>
		  <div class="show_right_line2">上架日期：<?php echo date('Y-m-d',$list['go_createtime']);?></div>
		  <div class="show_right_line3">
		       <input type="button" class="show_right_line3_input1" value="继续购买"/>
			   <a href="<?php echo U('shop_success',array('id'=>$_REQUEST['id']));?>">
			   	   <input type="button" class="show_right_line3_input2" value="加入购物车"/></a>
		  </div>
	   
	</div>
  </div>
  <!--产品参数结束-->
  <div style="clear:both;height:10px;"></div>
    <div class="fl mt10">
     <div class="youlike">
        <div class="title">
            猜你喜欢
        </div>
        <div class="goodswrap" >
             <?php if(is_array($youlike)): $i = 0; $__LIST__ = $youlike;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$like): $mod = ($i % 2 );++$i;?><div align="center" class="goodsm">
                   <a href="<?php echo U('detail',array('id'=>$like['go_id']));?>">
                    <img src="<?php echo ($like['go_pics']); ?>" width="190px" height="190px"/>
                   </a>
                 <div class="alignleft"><?php echo ($like['go_name']); ?></div>
                 <div class="alignleft"><?php echo ($like['go_value']); ?></div>
             </div><?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
     </div>
  </div>
  <div class="m fl" id="comment" style="width:900px; margin-left:20px;border:1px solid #dedede;">
    <ul class="tab clearfix">
      <li onclick="tabs('#comment',0)" class="curr">图文介绍<strong></strong><span></span></li>

      <li onclick="tabs('#comment',1)">评论<strong>(1)</strong><span></span></li>
    </ul>


    <div class="mc tabcon block" >
      <div class="norecode"> <?php echo htmlspecialchars_decode($list['go_info']);?></div>
    </div>

    <div class="mc tabcon hide" >
      <div class="item">
        <div class="user"> <span class="u-name">网友：studiolovecat</span> <span class="u-level"> <font style="color:#999999"> 银牌会员 </font> </span> <span class="date-ask">2011-03-20 13:36</span> </div>
        <dl class="ask">
          <dt> <b></b> 咨询内容： </dt>
          <dd> 请问这款机器用什么电池，续航能力最强的电池型号与价格是什么</dd>
        </dl>
        <dl class="answer">
          <dt> <b></b> 京东回复： </dt>
          <dd>
            <div class="content"> 您好！专用锂电池BP－950G，7.4V，5200mAh。感谢您对京东的支持！祝您购物愉快！</div>
            <div class="date-answer"> 2011-03-21 10:45</div>
          </dd>
        </dl>
        <div id="6727709" class="useful"> 您对我们的回复： <a class="btn-pleased" href="javascript:void(0)" name="2">满意</a> ( <span>0</span> )&nbsp;&nbsp; <a class="btn-unpleased" href="javascript:void(0)" name="4">不满意</a> ( <span>0</span> ) </div>
      </div>
      <div class="item odd">
        <div class="user"> <span class="u-name">网友：yefa888</span> <span class="u-level"> <font style="color:#999999"> 铜牌会员 </font> </span> <span class="date-ask">2011-01-16 01:36</span> </div>
        <dl class="ask">
          <dt> <b></b> 咨询内容： </dt>
          <dd> 请问这个MiniDV带是可以重复使用还是一次消费品?我是生手,想买一台可是不太了解.</dd>
        </dl>
        <dl class="answer">
          <dt> <b></b> 京东回复： </dt>
          <dd>
            <div class="content"> 您好！可以重复使用,感谢您对京东的支持！祝您购物愉快！</div>
            <div class="date-answer"> 2011-01-17 09:47</div>
          </dd>
        </dl>
        <div id="6195867" class="useful"> 您对我们的回复： <a class="btn-pleased" href="javascript:void(0)" name="2">满意</a> ( <span>0</span> )&nbsp;&nbsp; <a class="btn-unpleased" href="javascript:void(0)" name="4">不满意</a> ( <span>0</span> ) </div>
      </div>
    </div>
  </div>
</div>
<div class="clear"></div>
<div class="foot">
   <div class="foot_title">
   	    <div class="foot_main foot_titleli">
   	    	  <ul>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">霞</span>
   	    	  	   	   <span class="foottitle">品质保证不错不错</span>
   	    	  	   </li>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">客</span>
   	    	  	   	   <span class="foottitle">物超所值不错不错</span>
   	    	  	   </li>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">网</span>
   	    	  	   	   <span class="foottitle">无理由退货不错不错</span>
   	    	  	   </li>
   	    	  	   <li class="fl">
   	    	  	   	   <span class="footicon">络</span>
   	    	  	   	   <span class="foottitle">不错不错不错不错</span>
   	    	  	   </li>
   	    	  </ul>
   	    </div>
   </div>
   <div style="background:#fff;">
    	<div class="foot_main foot_wrap">
    	      <ul>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      	  <li class="fl">
    	      	       <span class="title">购物指南</span>
    	      	       <br/>购物流程
    	      	       <br/>会员介绍
    	      	       <br/>生活旅行/团购
    	      	       <br/>常见问题
    	      	       <br/>大家电
    	      	       <br/>联系客服
    	      	  </li>
    	      </ul>
    	</div>
    </div>
    <div class="clear"></div>
    <div>
    	<div class="foot_main" align="center" style="height:50px; line-height:50px;">
    		Copyright © 2016-2025 霞客网络 版权所有 保留一切权利 备案号:闽00-785356985号
    	</div>
    </div>

</div>
</body>
</html>
<!-- <div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div> -->